Fix installation on Android
authorJoey Hess <joeyh@joeyh.name>
Tue, 7 Jan 2025 18:13:46 +0000 (14:13 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 7 Jan 2025 18:13:46 +0000 (14:13 -0400)
Unfortunately, commit ce95cac19501bfbffd610203083510888a6b9646 broke
android installation way back in May of last year.

CHANGELOG
doc/bugs/Android_Installation_Error.mdwn
doc/bugs/Installation_error_on_android.mdwn
doc/bugs/Installation_error_on_android/comment_3_15c32517b85b6e91b7388d4f861eaf37._comment [new file with mode: 0644]
standalone/linux/skel/runshell

index cdef9716d2471e32a01f4a5c5d000a87b33ec857..b401848477537053fffb5ef05ddb78ba713185be 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,7 @@ git-annex (10.20250103) UNRELEASED; urgency=medium
   * log: Support --key, as well as --branch and --unused.
   * Avoid verification error when addurl --verifiable is used
     with an url claimed by a special remote other than the web.
+  * Fix installation on Android.
 
  -- Joey Hess <id@joeyh.name>  Fri, 03 Jan 2025 14:30:38 -0400
 
index bf16d41eac6cc6299206c852cde9ee7e0b6f146e..1536276f7479b04046e68d55079a472f42c1bf19 100644 (file)
@@ -28,3 +28,6 @@ I have tried downloading the `.tar.gz` file and extracting it manually. Inside I
 ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
 
 Works great on all of my Fedora, Ubuntu, and Rocky machines!
+
+> Thanks for reporting, I have now fixed the bug in runshell. [[done]]
+> --[[Joey]]
index 3e1fbc16380633fb7dfb16d58b6334359add9915..21102fc2ab27e3005ca71a93e155ab71ba4952c8 100644 (file)
@@ -73,4 +73,4 @@ sed: can't read /data/data/com.termux/files/home/git-annex.linux/git-remote-anne
 
 ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
 
-
+> [[fixed|done]] --[[Joey]]
diff --git a/doc/bugs/Installation_error_on_android/comment_3_15c32517b85b6e91b7388d4f861eaf37._comment b/doc/bugs/Installation_error_on_android/comment_3_15c32517b85b6e91b7388d4f861eaf37._comment
new file mode 100644 (file)
index 0000000..a8c6e7f
--- /dev/null
@@ -0,0 +1,8 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2025-01-07T18:11:59Z"
+ content="""
+Indeed that is the same bug. And I've fixed it now, the next daily build
+and release will have the fix.
+"""]]
index bbf2aad2715fd527f341f303c733d2d79ecaf26b..1360d31fe8b24ef3c181f194bebc26900fb001c3 100755 (executable)
@@ -206,7 +206,7 @@ case "$os" in
                        # The bundled git does not work well on sdcard, so delete
                        # it and use termux's git which works better.
                        cd "$base"
-                       find . | grep git | grep -v git-annex | grep -v git-remote-tor-annex | grep -v git-remote-gcrypt | xargs rm -rf
+                       find . | grep git | grep -v git-annex | grep -v git-remote-annex | grep -v git-remote-tor-annex | grep -v git-remote-gcrypt | xargs rm -rf
                        # Use termux's uname, which knows it's on android,
                        # not the bundled one.
                        rm -f bin/uname